﻿<UserControl x:Class="MDCAdminTool.Controls.Cache_Cluster.ManageSecurity"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="419" d:DesignWidth="663">
        <Grid Height="400" HorizontalAlignment="Left" Name="stackPanel1" VerticalAlignment="Top" Width="647">
        <Button Content="Add" Height="23" HorizontalAlignment="Right" Name="btnAdd" VerticalAlignment="Top" Width="75" Click="OnItemAdd" Margin="0,21,153,0" />
            <TextBox Height="23" Name="txtNew" Margin="12,21,282,355" />
        <DataGrid AutoGenerateColumns="False" Name="dgAccounts" Margin="12,66,153,47">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Name" Binding="{Binding}" Width="400"/>
                <DataGridTemplateColumn Header="Actions">
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <StackPanel>
                                <Button Content="Remove" Click="OnRowDelete" Command="{Binding}" />
                            </StackPanel>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                </DataGridTemplateColumn>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</UserControl>
